import java.lang.reflect.Array;
import java.util.*;

import static java.util.Comparator.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-08-29
 * Time: 15:23
 */
abstract class F {

}
public class Test3 {
    public static void main(String[] args) {
        new Apple();

    }
}
class fruit{
    public static String name = "水果";
    public static void printl() {
        System.out.println("2");
    }
}
class Apple extends fruit{
    public static String name = "苹果";
    public static void print() {
        System.out.println("1");
    }
}

